package com.ipet.item.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("tb_spu")
@Data
public class SPU {
    @TableId(type = IdType.AUTO)
    private String id;
    private String title;
    private String cid1;
    private String cid2;
    private String cid3;
    private String brandId;
    private Integer saleable;
    private Integer valid;
    @TableField(exist = false)
    private SPUDetail spuDetail;
}
